﻿// <copyright file="Payments.cs" company="company"> 
// (C) 2010 . All rights reserved
// </copyright>
// <author>Lukasz Bartczak</author>

namespace WcfService1
{
    using System;
    using System.Collections;

    /// <summary>
    /// Payment of child
    /// </summary>
    [Serializable]
    public class Payments
    {
        /// <summary>
        /// Name of child.
        /// </summary>
        private string imieDziecka;

        /// <summary>
        /// Surename of child.
        /// </summary>
        private string nazwiskoDziecka;

        /// <summary>
        /// The month of payment.
        /// </summary>
        private string miesiac;
        
        /// <summary>
        /// The payment amount.
        /// </summary>
        private double kwota;

        /// <summary>
        /// Kind of payment.
        /// </summary>
        private string rodzajOpłaty;

        /// <summary>
        /// Type of payment.
        /// </summary>
        private string typOplaty;

        /// <summary>
        /// Date of settlement.
        /// </summary>
        private DateTime? dataRozliczenia;

        /// <summary>
        /// Last day to pay.
        /// </summary>
        private DateTime terminPlatnosci;

        /// <summary>
        /// Initializes a new instance of the <see cref="Payments"/> class.
        /// </summary>
        public Payments()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Payments"/> class.
        /// </summary>
        /// <param name="imieDz">The name of child.</param>
        /// <param name="nazDz">The surename of child.</param>
        /// <param name="mies">The month.</param>
        /// <param name="kw">The payment amount.</param>
        /// <param name="rodzaj">The payment kind.</param>
        /// <param name="typ">The type of payment.</param>
        /// <param name="roz">The day of pay.</param>
        /// <param name="platn">The last day to pay.</param>
        public Payments(string imieDz, string nazDz, string mies, double kw, string rodzaj, string typ, DateTime? roz, DateTime platn)
        {
            this.imieDziecka = imieDz;
            this.nazwiskoDziecka = nazDz;
            this.miesiac = mies;
            this.kwota = kw;
            this.rodzajOpłaty = rodzaj;
            this.typOplaty = typ;
            this.dataRozliczenia = roz;
            this.terminPlatnosci = platn;
        }

        /// <summary>
        /// Gets or sets the dziecko imie.
        /// </summary>
        /// <value>The dziecko imie.</value>
        public virtual string DzieckoImie
        {
            get { return this.imieDziecka; }
            set { this.imieDziecka = value; }
        }

        /// <summary>
        /// Gets or sets the dziecko nazwisko.
        /// </summary>
        /// <value>The dziecko nazwisko.</value>
        public virtual string DzieckoNazwisko
        {
            get { return this.nazwiskoDziecka; }
            set { this.nazwiskoDziecka = value; }
        }

        /// <summary>
        /// Gets or sets the opiekun nazwisko.
        /// </summary>
        /// <value>The opiekun nazwisko.</value>
        public virtual string Miesiac
        {
            get { return this.miesiac; }
            set { this.miesiac = value; }
        }

        /// <summary>
        /// Gets or sets the opiekun imie.
        /// </summary>
        /// <value>The opiekun imie.</value>
        public virtual double Kwota
        {
            get { return this.kwota; }
            set { this.kwota = value; }
        }

        /// <summary>
        /// Gets or sets the rodzaj opłaty.
        /// </summary>
        /// <value>The rodzaj opłaty.</value>
        public virtual string RodzajOpłaty
        {
            get { return this.rodzajOpłaty; }
            set { this.rodzajOpłaty = value; }
        }

        /// <summary>
        /// Gets or sets the typ oplaty.
        /// </summary>
        /// <value>The typ oplaty.</value>
        public virtual string TypOplaty
        {
            get { return this.typOplaty; }
            set { this.typOplaty = value; }
        }

        /// <summary>
        /// Gets or sets the data rozliczenia.
        /// </summary>
        /// <value>The data rozliczenia.</value>
        public virtual DateTime? DataRozliczenia
        {
            get { return this.dataRozliczenia; }
            set { this.dataRozliczenia = value; }
        }

        /// <summary>
        /// Gets or sets the termin platnosci.
        /// </summary>
        /// <value>The termin platnosci.</value>
        public virtual DateTime TerminPlatnosci
        {
            get { return this.terminPlatnosci; }
            set { this.terminPlatnosci = value; }
        }
    }
}
